import request from '@/utils/request'

export function getList(current,size) {
  return request({
    url: `/moniter-application/page/${current}/${size}`,
    method: 'get'
  })
}
export function doDelete(id) {
  return request({
    url: `/moniter-application/${id}`,
    method: 'delete'
  })
}
export function getAll() {
  return request({
    url: `/moniter-application/`,
    method: 'get'
  })
}
export function sync() {
  return request({
    url: `/moniter-application/sync-save`,
    method: 'get'
  })
}